package com.sntk.organauthomanager.application.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: OrganizationDTO
 * @author: wgchao
 * @createTime: 2020/7/20 4:59 PM
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(content = JsonInclude.Include.NON_NULL)
@JsonAutoDetect(getterVisibility = JsonAutoDetect.Visibility.PUBLIC_ONLY)
public class OrganizationDTO implements Serializable {

    private Long id;

    //机构编号-机构编号规则（子机构编号=父机构编号+4位随机码）
    private String institutionNumber;

    //机构名称
    private String institutionName;

    //机构地址
    private String institutionalAddress;

    //对用HIS机构编号
    private String hisInstitutionNumber;

    //备注
    private String remark;

    //上级机构编号
    private String superiorNumber;

    private boolean disabled;

    private Boolean del;

    private Date createTime;

    private String creator;

    private Date lastUpdateTime;

    private String lastUpdator;

    private Long version;

}
